package com.jindy.module.oaReceiveApproval.mapper;

import java.util.List;
import com.jindy.module.oaReceiveApproval.domain.SyOaReceive;

/**
 * 招待审批Mapper接口
 * 
 * @author jindy
 * @date 2023-06-01
 */
public interface SyOaReceiveMapper 
{
    /**
     * 查询招待审批
     * 
     * @param id 招待审批主键
     * @return 招待审批
     */
    public SyOaReceive selectSyOaReceiveById(Long id);

    /**
     * 查询招待审批列表
     * 
     * @param syOaReceive 招待审批
     * @return 招待审批集合
     */
    public List<SyOaReceive> selectSyOaReceiveList(SyOaReceive syOaReceive);

    /**
     * 新增招待审批
     * 
     * @param syOaReceive 招待审批
     * @return 结果
     */
    public int insertSyOaReceive(SyOaReceive syOaReceive);

    /**
     * 修改招待审批
     * 
     * @param syOaReceive 招待审批
     * @return 结果
     */
    public int updateSyOaReceive(SyOaReceive syOaReceive);

    /**
     * 删除招待审批
     * 
     * @param id 招待审批主键
     * @return 结果
     */
    public int deleteSyOaReceiveById(Long id);

    /**
     * 批量删除招待审批
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSyOaReceiveByIds(Long[] ids);
}
